﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FacadePattern
{
    class SecurityCodeCheck
    {
        private const int securityCode = 1234;
        public int getSecurityCode() { return securityCode; }

        public bool isCodeCorrect(int secCodeToCheck)
        {
            return secCodeToCheck == getSecurityCode();
        }
    }
}
